package com.ruoyi.quartz.task;

import com.ruoyi.system.service.ISysRoadInfoService;
import com.ruoyi.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author LiBingyan
 * @Date 2022/3/18 1:12
 * @Version 1.0
 **/
@Component("xxTask")
public class XiongXinTask {
    @Autowired
    ISysRoadInfoService iSysRoadInfoService;
    @Autowired
    ISysUserService iSysUserService;
    /**
     * 执行标段信息定时任务接口
     */
    public void orgInfoRun() {
        iSysRoadInfoService.importDict();
    }

    /**
     * 执行user信息定时任务接口
     */
    public void sysInfoRun() {
        iSysUserService.importDict();
    }

}
